<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>  
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>  
<%  
String path = request.getContextPath();  
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";  
%>  
  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
<html>  
<head>  
<base href="<%=basePath%>">  
  
<title>asset list page</title>  
  
<meta http-equiv="pragma" content="no-cache">  
<meta http-equiv="cache-control" content="no-cache">  
<meta http-equiv="expires" content="0">  
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">  
<meta http-equiv="description" content="This is my page">  
<%@include file="../header.html" %>

</head>  
<body class="cbp-spmenu-push">  \
<div>
        <s:include value="<%=basePath%>side_bar.jsp"></s:include>
		<s:include value="<%=basePath%>top_bar.jsp"></s:include>
		</div>
<div>
    <form action="queryAsset.action" method="post">  
        <table align="center">  
            <tr>  
                <td style="vertical-align: middle;">资产ID 
                    <input type="text" style="width: 300px;height: 30px;font-size: 16px" name="queryText"  value="${searchText }"/>  
                    <input type="submit" value="查询" style="width: 100px;height: 30px;font-size: 16px"/>  
                     <a href="/4L1Z/jsp/addAsset.jsp">添加</a>    
                </td>  
            </tr>  
        </table>  
    </form>  
      
    <table align="center" border="1" cellpadding="0" cellspacing="0" bordercolor="#3366cc">  
        <tr align="center" bgcolor="#3399cc" height="26px">  
            <td width="60">资产ID</td> 
            <td width="100">资产类别ID</td>  
            <td width="90">资产名称</td> 
              <td width="60">使用人</td>  
             <td width="110">使用人部门ID</td> 
              <td width="100">保管人ID</td> 
               <td width="110">财务入账人ID</td> 
               <td width="110">采购单明细ID</td> 
              <td width="130">上级资产类别ID</td> 
               <td width="100">卡片编号</td>    
            <td width="100">在库状态</td>  
            <td width="100">规格型号</td>  
            <td width="100">财务是否入账</td>  
             <td width="70">单位</td>  
             <td width="70">数量</td>  
            <td width="110">编辑/删除</td>  
        </tr>  
          

        <c:forEach var="asset" items="${assets }">  
            <tr align="center"  height="24px">  
                <td width="60">${asset.assetid}</td>  
                <td width="100">${asset.assetcatalogid}</td>  
                <td width="90">${asset.assetname}</td>  
                <td width="60">${asset.userid}</td>  
                <td width="110">${asset.userdeptid}</td>  
                <td width="100">${asset.keeperid}</td>  
                <td width="110">${asset.recordid}</td>  
                <td width="110">${asset.purchasenotedeitailid}</td>  
                <td width="130">${asset.superiorassetcatalogid}</td>  
                <td width="100">${asset.carnumber}</td>  
                 <td width="100">${asset.instockstate}</td>  
                <td width="100">${asset.standardnumber}</td>  
                <td width="100">${asset.recordstate}</td>  
                <td width="70">${asset.unit}</td>  
                <td width="70">${asset.number}</td>  
                
                <td width="120">  
                
                    <a href="editAsset.action?param=0&assetid=${asset.assetid}">编辑</a>      
                    <a href="deleteAsset.action?assetid=${asset.assetid}">删除</a>  
                    
                </td>  
            </tr>  
        </c:forEach>  
    </table>  
    </div>
    <%@include file="../footer.html" %>
</body>  
</html>  
